package cn.xd.base.application.service.query;

import cn.xd.base.application.dto.query.AdminMenuQuery;
import cn.xd.base.domain.bean.response.AdminMenuDTO;
import cn.xd.base.domain.bean.response.JsonAdminMenuTree;

import java.util.List;

public interface AdminMenuQueryAppService {
    /**
     * 查询菜单不分页
     *
     * @param adminMenuQuery
     * @return
     */
    List<AdminMenuDTO> getAdminMenuList(AdminMenuQuery adminMenuQuery);

    /**
     * 查询菜单(tree型)
     *
     * @param parentId
     * @return
     */
    List<JsonAdminMenuTree> getAdminMenuJsonTree(Long parentId, List<String> perms);
}
